Initial Commit
19
src/main/res/animator/slide_in.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<objectAnimator
|
||||
android:propertyName="alpha"
|
||||
android:valueFrom="0"
|
||||
android:valueTo="1"
|
||||
android:duration="100"
|
||||
android:interpolator="@android:interpolator/decelerate_quad" />
|
||||
|
||||
<objectAnimator
|
||||
android:propertyName="percentTranslationY"
|
||||
android:valueFrom="0.08"
|
||||
android:valueTo="0"
|
||||
android:duration="175"
|
||||
android:interpolator="@android:interpolator/decelerate_quad" />
|
||||
|
||||
</set>
|
4
src/main/res/animator/slide_in_keep.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="175" />
|
20
src/main/res/animator/slide_out.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<objectAnimator
|
||||
android:propertyName="alpha"
|
||||
android:valueFrom="1"
|
||||
android:valueTo="0"
|
||||
android:startOffset="50"
|
||||
android:duration="75"
|
||||
android:interpolator="@android:interpolator/linear" />
|
||||
|
||||
<objectAnimator
|
||||
android:propertyName="percentTranslationY"
|
||||
android:valueFrom="0"
|
||||
android:valueTo="0.08"
|
||||
android:duration="125"
|
||||
android:interpolator="@android:interpolator/accelerate_quad" />
|
||||
|
||||
</set>
|
13
src/main/res/color/accent_dark.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:state_enabled="false"
|
||||
android:color="@color/accent_default_dark"
|
||||
android:alpha="0.3" />
|
||||
|
||||
<item
|
||||
android:color="@color/accent_default_dark" />
|
||||
|
||||
</selector>
|
13
src/main/res/color/accent_light.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:state_enabled="false"
|
||||
android:color="@color/accent_default_light"
|
||||
android:alpha="0.26" />
|
||||
|
||||
<item
|
||||
android:color="@color/accent_default_light" />
|
||||
|
||||
</selector>
|
13
src/main/res/color/error_dark.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:state_enabled="false"
|
||||
android:color="@color/error_default_dark"
|
||||
android:alpha="0.3" />
|
||||
|
||||
<item
|
||||
android:color="@color/error_default_dark" />
|
||||
|
||||
</selector>
|
13
src/main/res/color/error_light.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:state_enabled="false"
|
||||
android:color="@color/error_default_light"
|
||||
android:alpha="0.26" />
|
||||
|
||||
<item
|
||||
android:color="@color/error_default_light" />
|
||||
|
||||
</selector>
|
5
src/main/res/drawable/background_border.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="?android:attr/colorPrimary"/>
|
||||
<corners android:radius="10dp"/>
|
||||
</shape>
|
13
src/main/res/drawable/ic_add.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/textColor"
|
||||
android:pathData="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
|
||||
|
||||
</vector>
|
20
src/main/res/drawable/ic_application_default.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="96dp"
|
||||
android:height="96dp"
|
||||
android:viewportWidth="96"
|
||||
android:viewportHeight="96">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M48 4C23.699 4 4 23.699 4 48C4 72.301 23.699 92 48 92C72.301 92 92 72.301 92 48C92 23.699 72.301 4
|
||||
48 4zM28.125 29.102C28.938 29.05 29.867 29.412 30.602 30.146L36.609 36.152A26.1 26.1 0 0 1 48 33.5A26.1 26.1 0 0 1
|
||||
59.4 36.143L65.398 30.146C66.574 28.971 68.245 28.751 69.146 29.652C70.047 30.553 69.826 32.223 68.65 33.398L
|
||||
63.449 38.602A26.1 26.1 0 0 1 74.1 59.6A26.1 26.1 0 0 1 74.092 59.801L21.91 59.801A26.1 26.1 0 0 1 21.9 59.6A26.1
|
||||
26.1 0 0 1 32.551 38.602L27.35 33.398C26.174 32.223 25.953 30.553 26.854 29.652C27.191 29.314 27.637 29.133 28.125
|
||||
29.102zM37.35 46.801A2.25 2.25 0 0 0 35.1 49.051A2.25 2.25 0 0 0 37.35 51.301A2.25 2.25 0 0 0 39.6 49.051A2.25
|
||||
2.25 0 0 0 37.35 46.801zM58.65 46.801A2.25 2.25 0 0 0 56.4 49.051A2.25 2.25 0 0 0 58.65 51.301A2.25 2.25 0 0 0
|
||||
60.9 49.051A2.25 2.25 0 0 0 58.65 46.801z" />
|
||||
|
||||
</vector>
|
15
src/main/res/drawable/ic_archive.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88 .21-1.16 .55L3.46 5.23C3.17 5.57 3
|
||||
6.02 3 6.5V19c0 1.1 .9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM
|
||||
5.12 5l.81-1h12l.94 1H5.12z" />
|
||||
|
||||
</vector>
|
13
src/main/res/drawable/ic_arrow_down.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/textColor"
|
||||
android:pathData="M12 17.005L3.996 9 5.41 7.586 12 14.176 18.59 7.586 20.005 9Z" />
|
||||
|
||||
</vector>
|
16
src/main/res/drawable/ic_bug_report.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M20 8h-2.81c-.45-.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-.49 0
|
||||
-.96 .06-1.41 .17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05 .33-.09 .66-.09 1v1H4v2h2v1c0
|
||||
.34 .04 .67 .09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33 .09-.66 .09-1v-1h2v-2h-2v
|
||||
-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z" />
|
||||
|
||||
</vector>
|
13
src/main/res/drawable/ic_code.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z" />
|
||||
|
||||
</vector>
|
20
src/main/res/drawable/ic_copyright.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M10.08 10.86c.05-.33 .16-.62 .3-.87s.34-.46 .59-.62c.24-.15 .54-.22 .91-.23 .23 .01 .44 .05 .63
|
||||
.13 .2 .09 .38 .21 .52 .36s.25 .33 .34 .53 .13 .42 .14 .64h1.79c-.02-.47-.11-.9-.28-1.29s-.4-.73-.7-1.01-.66-.5
|
||||
-1.08-.66-.88-.23-1.39-.23c-.65 0-1.22 .11-1.7 .34s-.88 .53-1.2 .92-.56 .84-.71 1.36S8 11.29 8 11.87v.27c0 .58 .08
|
||||
1.12 .23 1.64s.39 .97 .71 1.35 .72 .69 1.2 .91 1.05 .34 1.7 .34c.47 0 .91-.08 1.32-.23s.77-.36 1.08-.63 .56-.58
|
||||
.74-.94 .29-.74 .3-1.15h-1.79c-.01 .21-.06 .4-.15 .58s-.21 .33-.36 .46-.32 .23-.52 .3c-.19 .07-.39 .09-.6 .1-.36
|
||||
-.01-.66-.08-.89-.23-.25-.16-.45-.37-.59-.62s-.25-.55-.3-.88-.08-.67-.08-1v-.27c0-.35 .03-.68 .08-1.01zM12 2C6.48
|
||||
2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8
|
||||
-8 8z" />
|
||||
|
||||
</vector>
|
13
src/main/res/drawable/ic_delete.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M6 19c0 1.1 .9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" />
|
||||
|
||||
</vector>
|
21
src/main/res/drawable/ic_donate_bitcoin.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M19.441 9.596C19.777 7.351 18.067 6.144 15.729 5.338L16.488 2.297 14.636 1.835 13.898 4.797C13.411
|
||||
4.675 12.911 4.561 12.414 4.448L13.158 1.467 11.307 1.005 10.548 4.046C10.145 3.954 9.75 3.863 9.366 3.768l.002
|
||||
-.009L6.814 3.121 6.321 5.098c0 0 1.374 .315 1.345 .334 .75 .187 .886 .683 .863 1.077L7.665 9.975c.052 .013 .119
|
||||
.032 .193 .062-.062-.015-.128-.032-.196-.049L6.451 14.842c-.092 .228-.324 .57-.849 .44 .018 .027-1.346-.336-1.346
|
||||
-.336l-.919 2.119 2.41 .601c.448 .112 .888 .23 1.32 .341l-.766 3.076 1.85 .461 .759-3.044c.505 .137 .996 .264
|
||||
1.476 .383l-.756 3.03 1.852 .461 .766-3.071c3.158 .597 5.532 .356 6.531-2.499 .805-2.299-.04-3.625-1.701-4.49 1.21
|
||||
-.279 2.121-1.075 2.364-2.718zm-4.231 5.932c-.572 2.299-4.444 1.056-5.699 .745L10.528 12.197c1.255 .313 5.28 .933
|
||||
4.682 3.331zM15.783 9.563C15.261 11.654 12.038 10.592 10.993 10.331l.922-3.697c1.045 .261 4.412 .747
|
||||
3.868 2.928z" />
|
||||
|
||||
</vector>
|
17
src/main/res/drawable/ic_donate_flattr.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M9.461 3C5.183 3 3 5.464 3 10.064v3.213 6.438L7.19 15.52v-4.902c0-1.906 .505-3.118 2.199-3.391
|
||||
.592-.116 1.824-.075 2.607-.075v2.911c0 .027 .004 .074 .01 .098 .033 .118 .139 .204 .266 .204 .071 0 .138-.037
|
||||
.207-.105l7.262-7.259-4.875-.001zM21 4.285L16.81 8.48v4.902c0 1.906-.505 3.118-2.199 3.391-.592 .116-1.824 .075
|
||||
-2.607 .075v-2.911c0-.026-.004-.074-.01-.098-.033-.118-.139-.204-.266-.204-.071 0-.138 .037-.207 .105L4.258 20.999
|
||||
9.133 21H14.539C18.817 21 21 18.536 21 13.936v-3.214z" />
|
||||
|
||||
</vector>
|
22
src/main/res/drawable/ic_donate_liberapay.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M11.393 1.347L8.018 1.869 5.253 13.43c-.16 .682-.244 1.325-.251 1.927-.007 .604 .116 1.136 .37 1.6
|
||||
.254 .465 .675 .831 1.262 1.1 .588 .268 1.397 .402 2.428 .402v-.002L9.716 15.781C9.339 15.752 9.045 15.687 8.834
|
||||
15.585 8.624 15.484 8.475 15.35 8.388 15.183 8.301 15.016 8.261 14.823 8.269 14.605c.007-.217 .04-.457 .098-.718zm
|
||||
5.201 5.184c-.871 0-1.68 .069-2.428 .207-.747 .138-1.412 .294-1.992 .468L8.559 22.27H11.782l.98-3.941c.493 .087
|
||||
.987 .13 1.48 .13 1.015 0 1.956-.178 2.82-.534 .864-.355 1.603-.851 2.22-1.491 .617-.639 1.099-1.397 1.448-2.276
|
||||
.348-.878 .522-1.846 .523-2.905 0 0 0-.001 0-.001 0 0 0-.001 0-.001C21.252 10.601 21.162 9.987 20.98 9.415 20.799
|
||||
8.842 20.519 8.342 20.142 7.913 19.765 7.485 19.283 7.147 18.695 6.901 18.107 6.654 17.407 6.53 16.594 6.53Zm-.414
|
||||
2.722c.682 0 1.161 .218 1.437 .653 .275 .436 .413 .966 .413 1.59 0 .639-.091 1.223-.272 1.752-.182 .53-.436 .984
|
||||
-.762 1.361-.327 .378-.723 .671-1.187 .881-.465 .211-.98 .316-1.546 .316-.363 0-.667-.029-.914-.087l1.523-6.335c
|
||||
.406-.087 .842-.131 1.307-.131z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_donate_litecoin.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="m11.065 16.274l1.039-3.913 2.46-.899 .612-2.3-.021-.057-2.422 .885 1.745-6.571H9.53L7.248 11.994
|
||||
5.342 12.69 4.713 15.061 6.617 14.366 5.272 19.419H18.443l.844-3.145h-8.222" />
|
||||
|
||||
</vector>
|
16
src/main/res/drawable/ic_donate_opencollective.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M12 2A10 10 0 0 0 2 12A10 10 0 0 0 12 22A10 10 0 0 0 18.043 19.951L15.469 17.377A6.4 6.4 0 0 1 12
|
||||
18.4A6.4 6.4 0 0 1 5.6 12A6.4 6.4 0 0 1 12 5.6A6.4 6.4 0 0 1 15.465 6.627L18.047 4.045A10 10 0 0 0 12 2zM19.951
|
||||
5.957L17.377 8.531A6.4 6.4 0 0 1 18.4 12A6.4 6.4 0 0 1 17.373 15.465L19.955 18.047A10 10 0 0 0 22 12A10 10 0 0 0
|
||||
19.951 5.957z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_edit.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39 .39-1.02 0-1.41l-2.34-2.34c-.39
|
||||
-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_email.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M20 4H4c-1.1 0-1.99 .9-1.99 2L2 18c0 1.1 .9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5
|
||||
V6l8 5 8-5v2z" />
|
||||
|
||||
</vector>
|
15
src/main/res/drawable/ic_history.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89 .07 .14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93
|
||||
0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54 .72-1.21
|
||||
-3.5-2.08V8H12z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_launch.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1 .89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83
|
||||
9.83 1.41 1.41L19 6.41V10h2V3h-7z" />
|
||||
|
||||
</vector>
|
15
src/main/res/drawable/ic_new_releases.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M23 12l-2.44-2.78 .34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61 .81 .34 3.68L1 12l2.44
|
||||
2.78-.34 3.69 3.61 .82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-10 5h-2v-2h2v2zm0-4h-2V7
|
||||
h2v6z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_perm_device_information.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1 .9 2 2 2h10c1.1 0 2-.9 2-2V3c0
|
||||
-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_person.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66
|
||||
-5.33-4-8-4z" />
|
||||
|
||||
</vector>
|
16
src/main/res/drawable/ic_photo_camera.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M9 2L7.17 4L4 4C2.9 4 2 4.9 2 6L2 18C2 19.1 2.9 20 4 20L20 20C21.1 20 22 19.1 22 18L22 6C22 4.9
|
||||
21.1 4 20 4L16.83 4L15 2L9 2zM12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17C9.24 17 7 14.76 7 12C7 9.24 9.24
|
||||
7 12 7zM12 8.801A3.2 3.2 0 0 0 8.801 12A3.2 3.2 0 0 0 12 15.199A3.2 3.2 0 0 0 15.199 12A3.2 3.2 0 0 0
|
||||
12 8.801z" />
|
||||
|
||||
</vector>
|
15
src/main/res/drawable/ic_public.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7
|
||||
-7.93 0-.62 .08-1.21 .21-1.79L9 15v1c0 1.1 .9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H
|
||||
8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_save.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1 .89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s
|
||||
1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z" />
|
||||
|
||||
</vector>
|
15
src/main/res/drawable/ic_search.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5
|
||||
16c1.61 0 3.09-.59 4.23-1.57l.27 .28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01
|
||||
14 9.5 11.99 14 9.5 14z" />
|
||||
|
||||
</vector>
|
13
src/main/res/drawable/ic_sort.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z" />
|
||||
|
||||
</vector>
|
15
src/main/res/drawable/ic_sync.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0
|
||||
-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01 .25-1.97 .7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8
|
||||
8v3l4-4-4-4v3z" />
|
||||
|
||||
</vector>
|
14
src/main/res/drawable/ic_tune.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?android:attr/colorBackground"
|
||||
android:pathData="M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6
|
||||
-4h2V7h4V5h-4V3h-2v6z" />
|
||||
|
||||
</vector>
|
10
src/main/res/drawable/scrollbar_thumb.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<solid
|
||||
android:angle="0"
|
||||
android:color="?android:attr/colorPrimary"/>
|
||||
|
||||
<corners android:radius="6dp" />
|
||||
|
||||
</shape>
|
10
src/main/res/drawable/scrollbar_track.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<solid
|
||||
android:angle="0"
|
||||
android:color="@null"/>
|
||||
|
||||
<corners android:radius="6dp" />
|
||||
|
||||
</shape>
|
218
src/main/res/layout/edit_repository.xml
Normal file
@ -0,0 +1,218 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:animateLayoutChanges="true">
|
||||
|
||||
<ScrollView
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:paddingBottom="12dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="-12dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="12sp"
|
||||
android:text="@string/address" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/address"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:textSize="16sp"
|
||||
android:inputType="textUri"
|
||||
android:hint="https://"
|
||||
tools:ignore="Autofill,HardcodedText" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/address_mirror"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="end"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/ic_arrow_down"
|
||||
android:tint="?android:attr/textColorSecondary"
|
||||
android:tintMode="src_in"
|
||||
android:background="?android:attr/actionBarItemBackground"
|
||||
android:visibility="gone"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/address_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-2dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?attr/colorError"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="-12dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="12sp"
|
||||
android:text="@string/fingerprint" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/fingerprint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:gravity="top"
|
||||
android:fontFamily="monospace"
|
||||
android:textSize="16sp"
|
||||
android:inputType="textNoSuggestions|textMultiLine"
|
||||
tools:ignore="Autofill,LabelFor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fingerprint_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-2dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?attr/colorError"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="-12dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="12sp"
|
||||
android:text="@string/username" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:textSize="16sp"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:hint="@string/username"
|
||||
tools:ignore="Autofill,LabelFor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-2dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?attr/colorError"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="-12dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="12sp"
|
||||
android:text="@string/password" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:textSize="16sp"
|
||||
android:inputType="textPassword"
|
||||
android:hint="@string/password"
|
||||
tools:ignore="Autofill,LabelFor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-2dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:textColor="?attr/colorError"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/overlay"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:background="?android:attr/colorBackground"
|
||||
android:clickable="true"
|
||||
tools:ignore="KeyboardInaccessibleWidget">
|
||||
|
||||
<ProgressBar
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="20sp"
|
||||
android:text="@string/checking_repository" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/skip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
style="@android:style/Widget.Material.Button.Borderless.Colored"
|
||||
android:text="@string/skip" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
42
src/main/res/layout/fragment.xml
Normal file
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--AppBar-->
|
||||
<com.looker.droidify.widget.FragmentLinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:elevation="0dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:theme="?android:attr/actionBarTheme"
|
||||
android:background="?android:attr/colorPrimaryDark"
|
||||
android:elevation="0dp">
|
||||
|
||||
<com.looker.droidify.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:popupTheme="@style/Theme.Main.Toolbar.Popup"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/background_border"
|
||||
android:theme="@style/Theme.Main.Light"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/toolbar_extra"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/Theme.Main.Light"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/colorBackground" />
|
||||
|
||||
</com.looker.droidify.widget.FragmentLinearLayout>
|
48
src/main/res/layout/link_item.xml
Normal file
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:scaleType="centerInside"
|
||||
android:tint="?android:attr/textColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginStart="32dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/link"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
32
src/main/res/layout/permissions_item.xml
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:scaleType="centerInside"
|
||||
android:tint="?android:attr/textColorSecondary"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="32dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
43
src/main/res/layout/preference_item.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Switch
|
||||
android:id="@+id/check"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="-16dp"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:clickable="false"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
101
src/main/res/layout/product_header_item.xml
Normal file
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="8dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginStart="1.667dp"
|
||||
android:layout_marginEnd="1.667dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginStart="12dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/package_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="2sp"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="12sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/status_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingEnd="4dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="12sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginBottom="2dp"
|
||||
style="@android:style/Widget.Material.ProgressBar.Horizontal"
|
||||
android:indeterminateTint="?android:attr/colorPrimary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/action"
|
||||
android:background="@drawable/background_border"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"/>
|
||||
|
||||
</LinearLayout>
|
61
src/main/res/layout/product_item.xml
Normal file
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="72dp"
|
||||
android:paddingStart="14dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="44dp"
|
||||
android:scaleType="centerInside"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="14dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="70dp"
|
||||
android:singleLine="true"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
114
src/main/res/layout/release_item.xml
Normal file
@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:baselineAligned="false"
|
||||
android:padding="16dp"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="bottom">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
tools:ignore="UselessParent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true"
|
||||
tools:ignore="InefficientWeight" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:paddingTop="1dp"
|
||||
android:paddingBottom="1dp"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingEnd="4dp"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="?android:attr/colorBackground"
|
||||
android:textSize="10sp"
|
||||
android:textAllCaps="true"
|
||||
android:singleLine="true"
|
||||
tools:ignore="SmallSp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/added"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/source"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/signature"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="14sp"
|
||||
android:maxLines="1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/compatibility"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
27
src/main/res/layout/repository_item.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="54dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="16dp"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<Switch
|
||||
android:id="@+id/enabled"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp" />
|
||||
|
||||
</LinearLayout>
|
31
src/main/res/layout/section_item.xml
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/ic_arrow_down"
|
||||
android:tint="?android:attr/textColorPrimary"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
28
src/main/res/layout/switch_item.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="16dp"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true" />
|
||||
|
||||
<Switch
|
||||
android:id="@+id/enabled"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:clickable="false" />
|
||||
|
||||
</LinearLayout>
|
59
src/main/res/layout/tabs_toolbar.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
android:background="@drawable/background_border">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:orientation="horizontal"
|
||||
android:theme="@style/Theme.Main.Light"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/section_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/section_change"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:theme="@style/Theme.Main.Light"
|
||||
tools:ignore="UselessParent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/section_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/section_icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:src="@drawable/ic_arrow_down"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
27
src/main/res/layout/title_text_item.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
5
src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
5
src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
src/main/res/mipmap-hdpi/ic_launcher_background.png
Normal file
After Width: | Height: | Size: 182 B |
BIN
src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
src/main/res/mipmap-mdpi/ic_launcher_background.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
src/main/res/mipmap-xhdpi/ic_launcher_background.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
src/main/res/mipmap-xxhdpi/ic_launcher_background.png
Normal file
After Width: | Height: | Size: 487 B |
BIN
src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 8.0 KiB |
BIN
src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
Normal file
After Width: | Height: | Size: 803 B |
BIN
src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 14 KiB |
6
src/main/res/values/attrs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<attr name="colorError" format="color" />
|
||||
|
||||
</resources>
|
17
src/main/res/values/colors.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="background_light">#ffffffff</color>
|
||||
<color name="primary_light">#3EDA86</color>
|
||||
<color name="primary_dark_light">#ffffff</color>
|
||||
<color name="accent_default_light">#ff1976d2</color>
|
||||
<color name="error_default_light">#ffff1d18</color>
|
||||
<color name="background_dark">#ff111111</color>
|
||||
<color name="primary_dark">#36C378</color>
|
||||
<color name="primary_dark_dark">#ff21242b</color>
|
||||
<color name="accent_default_dark">#ff47a2fc</color>
|
||||
<color name="error_default_dark">#ffff5653</color>
|
||||
<color name="pixel_green">#3EDA86</color>
|
||||
<color name="text_green">#2E955D</color>
|
||||
<color name="transparent_pixel_green">#853EDA86</color>
|
||||
</resources>
|
4
src/main/res/values/ic_launcher_background.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
11
src/main/res/values/ids.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<item type="id" name="sections_list" />
|
||||
<item type="id" name="divider_configuration" />
|
||||
<item type="id" name="fragment_pager" />
|
||||
<item type="id" name="main_content" />
|
||||
<item type="id" name="preferences_list" />
|
||||
<item type="id" name="toolbar_search" />
|
||||
|
||||
</resources>
|
167
src/main/res/values/strings.xml
Normal file
@ -0,0 +1,167 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="action_failed">Action failed</string>
|
||||
<string name="add_repository">Add repository</string>
|
||||
<string name="address">Address</string>
|
||||
<string name="all_applications">All applications</string>
|
||||
<string name="all_applications_up_to_date">All applications up to date</string>
|
||||
<string name="already_exists">Already exists</string>
|
||||
<string name="always">Always</string>
|
||||
<string name="anti_features">Anti-features</string>
|
||||
<string name="application">Application</string>
|
||||
<string name="application_name" translatable="false">Droid-ify</string>
|
||||
<string name="application_not_found">Application not found</string>
|
||||
<string name="author_email">Author email</string>
|
||||
<string name="author_website">Author website</string>
|
||||
<string name="available">Available</string>
|
||||
<string name="bug_tracker">Bug tracker</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="cant_edit_sync_DESC">Cannot edit repository since it is syncing right now.</string>
|
||||
<string name="changelog">Changelog</string>
|
||||
<string name="changes">Changes</string>
|
||||
<string name="checking_repository">Checking repository</string>
|
||||
<string name="compiled_for_debugging">Compiled for debugging</string>
|
||||
<string name="confirmation">Confirmation</string>
|
||||
<string name="connecting">Connecting</string>
|
||||
<string name="contains_non_free_media">Contains non-free media</string>
|
||||
<string name="could_not_download_FORMAT">Could not download %s</string>
|
||||
<string name="could_not_sync_FORMAT">Could not sync %s</string>
|
||||
<string name="could_not_validate_FORMAT">Could not validate %s</string>
|
||||
<string name="dark">Dark</string>
|
||||
<string name="date_added">Date added</string>
|
||||
<string name="delete">Delete</string>
|
||||
<string name="delete_repository_DESC">Are you sure you want to delete the repository?</string>
|
||||
<string name="description">Description</string>
|
||||
<string name="details">Details</string>
|
||||
<string name="donate">Donate</string>
|
||||
<string name="downloaded_FORMAT">Downloaded %s</string>
|
||||
<string name="downloading">Downloading</string>
|
||||
<string name="downloading_FORMAT">Downloading %s</string>
|
||||
<string name="edit_repository">Edit repository</string>
|
||||
<string name="file_format_error_DESC">Invalid file format.</string>
|
||||
<string name="fingerprint">Fingerprint</string>
|
||||
<string name="has_advertising">Has advertising</string>
|
||||
<string name="has_non_free_dependencies">Has non-free dependencies</string>
|
||||
<string name="has_security_vulnerabilities">Has security vulnerabilities</string>
|
||||
<string name="http_error_DESC">Invalid server response.</string>
|
||||
<string name="http_proxy">HTTP proxy</string>
|
||||
<string name="ignore_all_updates">Ignore all updates</string>
|
||||
<string name="ignore_this_update">Ignore this update</string>
|
||||
<string name="incompatible_api_DESC_FORMAT">Your %1$s (API version %2$d) is not supported. %3$s</string>
|
||||
<string name="incompatible_api_max_DESC_FORMAT">Maximum API version is %d.</string>
|
||||
<string name="incompatible_api_min_DESC_FORMAT">Minimum API version is %d.</string>
|
||||
<string name="incompatible_features_DESC">Missing features.</string>
|
||||
<string name="incompatible_older_DESC">This version is older than the one installed on your device.
|
||||
Uninstall that first.</string>
|
||||
<string name="incompatible_platforms_DESC_FORMAT">Your %1$s platform is not supported.
|
||||
Supported platforms: %2$s.</string>
|
||||
<string name="incompatible_signature_DESC">This version is signed with a different certificate than the one
|
||||
installed on your device. Uninstall that first.</string>
|
||||
<string name="incompatible_version">Incompatible version</string>
|
||||
<string name="incompatible_versions">Incompatible versions</string>
|
||||
<string name="incompatible_versions_summary">Show application versions incompatible with the device</string>
|
||||
<string name="incompatible_with_FORMAT">Incompatible with %s</string>
|
||||
<string name="install">Install</string>
|
||||
<string name="installed">Installed</string>
|
||||
<string name="integrity_check_error_DESC">Could not check integrity.</string>
|
||||
<string name="invalid_address">Invalid address</string>
|
||||
<string name="invalid_fingerprint_format">Invalid fingerprint format</string>
|
||||
<string name="invalid_metadata_error_DESC">Invalid metadata.</string>
|
||||
<string name="invalid_permissions_error_DESC">Invalid permissions.</string>
|
||||
<string name="invalid_signature_error_DESC">Invalid signature.</string>
|
||||
<string name="invalid_username_format">Invalid username format</string>
|
||||
<string name="last_update">Last update</string>
|
||||
<string name="launch">Launch</string>
|
||||
<string name="license">License</string>
|
||||
<string name="license_FORMAT">License %s</string>
|
||||
<string name="light">Light</string>
|
||||
<string name="link_copied_to_clipboard">Link copied to clipboard</string>
|
||||
<string name="links">Links</string>
|
||||
<string name="merging_FORMAT">Merging %s</string>
|
||||
<string name="name">Name</string>
|
||||
<string name="network_error_DESC">Network error.</string>
|
||||
<string name="never">Never</string>
|
||||
<string name="new_updates_available">New updates available</string>
|
||||
<plurals name="new_updates_DESC_FORMAT">
|
||||
<item quantity="one">%d new update.</item>
|
||||
<item quantity="other">%d new updates.</item>
|
||||
</plurals>
|
||||
<string name="no_applications_available">No applications available</string>
|
||||
<string name="no_applications_installed">No applications installed</string>
|
||||
<string name="no_description_available_DESC">No description available.</string>
|
||||
<string name="no_matching_applications_found">No matching applications found</string>
|
||||
<string name="no_proxy">No proxy</string>
|
||||
<string name="notify_about_updates">Notify about updates</string>
|
||||
<string name="notify_about_updates_summary">Show a notification when updates are available</string>
|
||||
<string name="number_of_applications">Number of applications</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="only_compatible_with_FORMAT">Only compatible with %s</string>
|
||||
<string name="only_on_wifi">Only on Wi-Fi</string>
|
||||
<string name="open_DESC_FORMAT">Open %s?</string>
|
||||
<string name="other">Other</string>
|
||||
<string name="parsing_index_error_DESC">Could not parse the index file.</string>
|
||||
<string name="password">Password</string>
|
||||
<string name="password_missing">Password missing</string>
|
||||
<string name="permissions">Permissions</string>
|
||||
<string name="plus_more_FORMAT">+%d more</string>
|
||||
<string name="preferences">Preferences</string>
|
||||
<string name="processing_FORMAT">Processing %1$s</string>
|
||||
<string name="project_website">Project website</string>
|
||||
<string name="promotes_non_free_network_services">Promotes non-free network services</string>
|
||||
<string name="promotes_non_free_software">Promotes non-free software</string>
|
||||
<string name="provided_by_FORMAT">Provided by %s</string>
|
||||
<string name="proxy">Proxy</string>
|
||||
<string name="proxy_host">Proxy host</string>
|
||||
<string name="proxy_port">Proxy port</string>
|
||||
<string name="proxy_type">Proxy type</string>
|
||||
<string name="repositories">Repositories</string>
|
||||
<string name="repository">Repository</string>
|
||||
<string name="repository_not_used_DESC">This repository has not been used yet. You need to enable it to view
|
||||
the applications it provides.</string>
|
||||
<string name="repository_unsigned_DESC">Unsigned. Could not verify the application list. Be careful downloading
|
||||
applications from unsigned repositories.</string>
|
||||
<string name="requires_FORMAT">Requires %s</string>
|
||||
<string name="save">Save</string>
|
||||
<string name="saving_details">Saving details</string>
|
||||
<string name="screenshots">Screenshots</string>
|
||||
<string name="search">Search</string>
|
||||
<string name="select_mirror">Select a mirror</string>
|
||||
<string name="show_more">Show more</string>
|
||||
<string name="show_older_versions">Show older versions</string>
|
||||
<string name="signature_FORMAT">Signature %s</string>
|
||||
<string name="signed_using_unsafe_algorithm">Signed using an unsafe algorithm</string>
|
||||
<string name="skip">Skip</string>
|
||||
<string name="socks_proxy">SOCKS proxy</string>
|
||||
<string name="sorting_order">Sorting order</string>
|
||||
<string name="source_code">Source code</string>
|
||||
<string name="source_code_no_longer_available">Source code no longer available</string>
|
||||
<string name="suggested">Suggested</string>
|
||||
<string name="sync_repositories">Sync repositories</string>
|
||||
<string name="sync_repositories_automatically">Sync repositories automatically</string>
|
||||
<string name="syncing">Syncing</string>
|
||||
<string name="syncing_FORMAT">Syncing %s</string>
|
||||
<string name="system">System</string>
|
||||
<string name="tap_to_install_DESC">Tap to install.</string>
|
||||
<string name="theme">Theme</string>
|
||||
<string name="tracks_or_reports_your_activity">Tracks or reports your activity</string>
|
||||
<string name="uninstall">Uninstall</string>
|
||||
<string name="unknown">Unknown</string>
|
||||
<string name="unknown_error_DESC">Unknown error.</string>
|
||||
<string name="unknown_FORMAT">Unknown: %s</string>
|
||||
<string name="unsigned">Unsigned</string>
|
||||
<string name="unstable_updates">Unstable updates</string>
|
||||
<string name="unstable_updates_summary">Suggest installing unstable versions</string>
|
||||
<string name="unverified">Unverified</string>
|
||||
<string name="update">Update</string>
|
||||
<string name="updates">Updates</string>
|
||||
<string name="upstream_source_code_is_not_free">Upstream source code is not free</string>
|
||||
<string name="username">Username</string>
|
||||
<string name="username_missing">Username missing</string>
|
||||
<string name="validation_index_error_DESC">Index could not be validated.</string>
|
||||
<string name="version_FORMAT">Version %s</string>
|
||||
<string name="versions">Versions</string>
|
||||
<string name="waiting_to_start_download">Waiting to start download</string>
|
||||
<string name="website">Website</string>
|
||||
|
||||
</resources>
|
47
src/main/res/values/styles.xml
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<resources>
|
||||
|
||||
<style name="Theme.Main.Light" parent="@android:style/Theme.Material.Light.DarkActionBar">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:toolbarStyle">@style/Widget.Main.Toolbar</item>
|
||||
<item name="android:windowBackground">@color/primary_dark_light</item>
|
||||
<item name="android:colorBackground">@color/background_light</item>
|
||||
<item name="android:colorPrimary">@color/primary_light</item>
|
||||
<item name="android:colorPrimaryDark">@color/primary_dark_light</item>
|
||||
<item name="android:colorAccent">@color/accent_light</item>
|
||||
<item name="android:colorControlActivated">@color/accent_default_light</item>
|
||||
<item name="colorError">@color/error_light</item>
|
||||
<item name="android:textColor">@color/primary_dark_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Main.Dark" parent="@android:style/Theme.Material">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:toolbarStyle">@style/Widget.Main.Toolbar</item>
|
||||
<item name="android:windowBackground">@color/primary_dark_dark</item>
|
||||
<item name="android:colorBackground">@color/background_dark</item>
|
||||
<item name="android:colorPrimary">@color/primary_dark</item>
|
||||
<item name="android:colorPrimaryDark">@color/primary_dark_dark</item>
|
||||
<item name="android:colorAccent">@color/accent_dark</item>
|
||||
<item name="android:colorControlActivated">@color/accent_default_dark</item>
|
||||
<item name="colorError">@color/error_dark</item>
|
||||
<item name="android:textColor">@color/primary_dark_light</item>
|
||||
</style>
|
||||
|
||||
<!--style name="Theme.Toolbar" parent="@android:style/Theme.Material">
|
||||
<item name="android:colorPrimary">@color/transparent_pixel_green</item>
|
||||
<item name="android:textColor">@color/pixel_green</item>
|
||||
</style-->
|
||||
|
||||
<style name="Widget.Main.Toolbar" parent="@android:style/Widget.Material.Toolbar">
|
||||
<!-- Fixes invalid text style on Samsung devices -->
|
||||
<item name="android:titleTextAppearance">@android:style/TextAppearance.Material.Widget.Toolbar.Title</item>
|
||||
<item name="android:subtitleTextAppearance">@android:style/TextAppearance.Material.Widget.Toolbar.Subtitle</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Main.Toolbar.Popup" parent="Theme.Main.Dark">
|
||||
<item name="android:colorBackground">?android:attr/colorPrimaryDark</item>
|
||||
</style>
|
||||
|
||||
</resources>
|