mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2025-02-03 17:07:31 +01:00
Add direct links to translation and forge platforms
This commit is contained in:
parent
969ec214fa
commit
7066c942e8
9
app/src/main/res/drawable/bug_report_black_24dp.xml
Normal file
9
app/src/main/res/drawable/bug_report_black_24dp.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:pathData="M20,8h-2.81c-0.45,-0.78 -1.07,-1.45 -1.82,-1.96L17,4.41 15.59,3l-2.17,2.17C12.96,5.06 12.49,5 12,5c-0.49,0 -0.96,0.06 -1.41,0.17L8.41,3 7,4.41l1.62,1.63C7.88,6.55 7.26,7.22 6.81,8L4,8v2h2.09c-0.05,0.33 -0.09,0.66 -0.09,1v1L4,12v2h2v1c0,0.34 0.04,0.67 0.09,1L4,16v2h2.81c1.04,1.79 2.97,3 5.19,3s4.15,-1.21 5.19,-3L20,18v-2h-2.09c0.05,-0.33 0.09,-0.66 0.09,-1v-1h2v-2h-2v-1c0,-0.34 -0.04,-0.67 -0.09,-1L20,10L20,8zM14,16h-4v-2h4v2zM14,12h-4v-2h4v2z"
|
||||||
|
android:fillColor="@color/colorDrawing"/>
|
||||||
|
</vector>
|
@ -11,6 +11,7 @@
|
|||||||
tools:context=".AboutActivity">
|
tools:context=".AboutActivity">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
android:importantForAccessibility="no"
|
||||||
android:id="@+id/imageView"
|
android:id="@+id/imageView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -61,11 +62,64 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:autoLink="web"
|
android:autoLink="web"
|
||||||
|
android:textAlignment="center"
|
||||||
android:text="@string/project_website"
|
android:text="@string/project_website"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/aboutAppDescription" />
|
app:layout_constraintTop_toBottomOf="@+id/aboutAppDescription" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/contributeTranslationsText"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:autoLink="web"
|
||||||
|
android:drawablePadding="6dp"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:text="@string/help_translate"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/aboutWebsite"
|
||||||
|
app:drawableLeftCompat="@drawable/translate_black_24dp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/contributeTranslationsUrl"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:autoLink="web"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:text="https://weblate.pixeldroid.org"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/contributeTranslationsText"
|
||||||
|
tools:ignore="HardcodedText" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/contributeForgeText"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:autoLink="web"
|
||||||
|
android:drawablePadding="6dp"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:text="@string/issues_contribute"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/contributeTranslationsUrl"
|
||||||
|
app:drawableLeftCompat="@drawable/bug_report_black_24dp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/contributeForgeUrl"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:autoLink="web"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:text="https://gitlab.shinice.net/pixeldroid/PixelDroid"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/contributeForgeText"
|
||||||
|
tools:ignore="HardcodedText" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/licensesButton"
|
android:id="@+id/licensesButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -74,7 +128,8 @@
|
|||||||
android:text="@string/dependencies_licenses"
|
android:text="@string/dependencies_licenses"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/aboutWebsite" />
|
app:layout_constraintTop_toBottomOf="@+id/contributeForgeUrl" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
@ -144,6 +144,8 @@
|
|||||||
<string name="delete_dialog">Delete this post?</string>
|
<string name="delete_dialog">Delete this post?</string>
|
||||||
<string name="cancel">Cancel</string>
|
<string name="cancel">Cancel</string>
|
||||||
<string name="language">Language</string>
|
<string name="language">Language</string>
|
||||||
|
<string name="help_translate">Help translate PixelDroid to your language:</string>
|
||||||
|
<string name="issues_contribute">Report issues or contribute to the application:</string>
|
||||||
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user