Skip to content

Commit 9fa7837

Browse files
committed
xml resources updated.
1 parent 70f0cc3 commit 9fa7837

File tree

7 files changed

+32
-21
lines changed

7 files changed

+32
-21
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<vector
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:tint="#FFFFFF"
5+
android:viewportHeight="24"
6+
android:viewportWidth="24"
7+
android:height="24dp"
8+
android:width="24dp">
9+
<path
10+
android:fillColor="@android:color/white"
11+
android:pathData="M3,6H1v13c0,1.1 0.9,2 2,2h17v-2H3V6z"/>
12+
<path
13+
android:fillColor="@android:color/white"
14+
android:pathData="M21,4h-7l-2,-2H7C5.9,2 5.01,2.9 5.01,4L5,15c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V6C23,4.9 22.1,4 21,4z"/>
15+
</vector>

mobile/src/main/res/drawable/baseline_folder_copy_24.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<vector
33
xmlns:android="http://schemas.android.com/apk/res/android"
4-
android:height="24dp"
5-
android:width="24dp"
4+
android:tint="#000000"
65
android:viewportHeight="24"
76
android:viewportWidth="24"
8-
android:tint="#000000">
7+
android:height="24dp"
8+
android:width="24dp">
99
<path
1010
android:fillColor="@android:color/white"
1111
android:pathData="M3,6H1v13c0,1.1 0.9,2 2,2h17v-2H3V6z"/>

mobile/src/main/res/layout/fragment_repository.xml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,10 @@
2424
android:layout_height="wrap_content"
2525
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
2626

27-
<!--
28-
<include
29-
android:id="@+id/toolbar_repository"
30-
layout="@layout/toolbar_repository"
31-
bind:repository="@{repository}"/>
32-
-->
33-
3427
<include
3528
android:id="@+id/toolbar_download"
3629
layout="@layout/toolbar_download"
37-
bind:branches="@{branches}"/>
30+
bind:branches="@{ branches }"/>
3831

3932
<androidx.appcompat.widget.LinearLayoutCompat
4033
android:layout_width="match_parent"
@@ -62,7 +55,7 @@
6255
android:layout_height="match_parent"
6356
android:nestedScrollingEnabled="true"
6457
app:layout_behavior="@string/appbar_scrolling_view_behavior"
65-
app:loadUrl="@{repository.htmlUrl}"/>
58+
app:loadUrl="@{ repository.htmlUrl }"/>
6659

6760
</ViewFlipper>
6861

mobile/src/main/res/layout/toolbar_profile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
android:id="@+id/text_github_name"
4949
android:layout_width="wrap_content"
5050
android:layout_height="match_parent"
51-
android:text="@{profile.name}"
51+
android:text="@{ profile.name }"
5252
android:padding="4dp"
5353
android:textAlignment="center"
5454
android:textColor="#FFFFFF"

mobile/src/main/res/layout/toolbar_query_string.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
android:layout_gravity="center_vertical|start"
3131
android:layout_marginEnd="8dp"
3232
android:background="?attr/selectableItemBackgroundBorderless"
33+
android:contentDescription="@string/hint_home_button"
3334
android:padding="15dp"
3435
android:src="?attr/homeAsUpIndicator"
3536
android:visibility="visible"/>

mobile/src/main/res/layout/toolbar_repository.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
android:layout_height="match_parent"
4949
android:layout_weight="0.2"
5050
android:orientation="vertical"
51-
android:visibility="@{safeUnbox(repository.forkCount) > 0 ? View.VISIBLE : View.INVISIBLE}">
51+
android:visibility="@{ safeUnbox(repository.forkCount) > 0 ? View.VISIBLE : View.INVISIBLE }">
5252

5353
<androidx.appcompat.widget.AppCompatTextView
5454
android:id="@+id/forkCount"
5555
android:layout_width="match_parent"
5656
android:layout_height="wrap_content"
5757
android:fontFamily="sans-serif-medium"
5858
android:maxLines="1"
59-
android:text='@{"" + repository.forkCount}'
59+
android:text='@{"" + repository.forkCount }'
6060
android:textAlignment="center"
6161
android:textColor="@android:color/white"
6262
android:textSize="14sp"
@@ -79,15 +79,15 @@
7979
android:layout_height="match_parent"
8080
android:layout_weight="0.2"
8181
android:orientation="vertical"
82-
android:visibility="@{safeUnbox(repository.watcherCount) > 0 ? View.VISIBLE : View.INVISIBLE}">
82+
android:visibility="@{ safeUnbox(repository.watcherCount) > 0 ? View.VISIBLE : View.INVISIBLE }">
8383

8484
<androidx.appcompat.widget.AppCompatTextView
8585
android:id="@+id/watcherCount"
8686
android:layout_width="match_parent"
8787
android:layout_height="wrap_content"
8888
android:fontFamily="sans-serif-medium"
8989
android:maxLines="1"
90-
android:text='@{"" + repository.watcherCount}'
90+
android:text='@{"" + repository.watcherCount }'
9191
android:textAlignment="center"
9292
android:textColor="@android:color/white"
9393
android:textSize="14sp"
@@ -110,15 +110,15 @@
110110
android:layout_height="match_parent"
111111
android:layout_weight="0.2"
112112
android:orientation="vertical"
113-
android:visibility="@{safeUnbox(repository.subscriberCount) > 0 ? View.VISIBLE : View.INVISIBLE}">
113+
android:visibility="@{ safeUnbox(repository.subscriberCount) > 0 ? View.VISIBLE : View.INVISIBLE }">
114114

115115
<androidx.appcompat.widget.AppCompatTextView
116116
android:id="@+id/subscriberCount"
117117
android:layout_width="match_parent"
118118
android:layout_height="wrap_content"
119119
android:fontFamily="sans-serif-medium"
120120
android:maxLines="1"
121-
android:text='@{"" + repository.subscriberCount}'
121+
android:text='@{"" + repository.subscriberCount }'
122122
android:textAlignment="center"
123123
android:textColor="@android:color/white"
124124
android:textSize="14sp"
@@ -141,15 +141,15 @@
141141
android:layout_height="match_parent"
142142
android:layout_weight="0.2"
143143
android:orientation="vertical"
144-
android:visibility="@{safeUnbox(repository.networkCount) > 0 ? View.VISIBLE : View.INVISIBLE}">
144+
android:visibility="@{ safeUnbox(repository.networkCount) > 0 ? View.VISIBLE : View.INVISIBLE }">
145145

146146
<androidx.appcompat.widget.AppCompatTextView
147147
android:id="@+id/networkCount"
148148
android:layout_width="match_parent"
149149
android:layout_height="wrap_content"
150150
android:fontFamily="sans-serif-medium"
151151
android:maxLines="1"
152-
android:text='@{"" + repository.networkCount}'
152+
android:text='@{"" + repository.networkCount }'
153153
android:textAlignment="center"
154154
android:textColor="@android:color/white"
155155
android:textSize="14sp"

mobile/src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@
4747
<string name="debug_network_absent">Network connection is absent</string>
4848

4949
<string name="hint_auto_id">Auto ID</string>
50+
<string name="hint_home_button">Home Button</string>
5051
<string name="hint_query_string_title">Display Name</string>
5152
<string name="hint_query_string_search">Search Parameter</string>
5253
<string name="hint_query_string_condition">Condition</string>
5354
<string name="hint_query_string_operator">Comparison Operator</string>
5455
<string name="hint_query_string_operand">Comparison Value</string>
5556
<string name="hint_query_string_is_raw">Raw Query</string>
5657

58+
5759
</resources>

0 commit comments

Comments
 (0)