Skip to content

Commit 9c7bade

Browse files
authored
Merge d820908 into b53f6a4
2 parents b53f6a4 + d820908 commit 9c7bade

File tree

6 files changed

+49
-15
lines changed

6 files changed

+49
-15
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
3+
<solid android:color="#0D000000" />
4+
<corners android:radius="8dp"/>
5+
<stroke android:width="1dp" android:color="#0F000000" />
6+
</shape>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
3+
<solid android:color="#00000000"/>
4+
<corners android:radius="8dp"/>
5+
<stroke android:width="1dp" android:color="#1A000000" />
6+
</shape>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- Drawable state list for background of basic button -->
4+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
5+
<!-- disabled button background -->
6+
<item android:state_enabled="false" android:drawable="@drawable/btn_disabled_stroked" />
7+
<!-- default button background -->
8+
<item android:drawable="@drawable/btn_stroked" />
9+
</selector>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
3-
<corners android:radius="20dp"/>
3+
<corners android:radius="8dp"/>
44
<padding android:left="10dp" android:right="10dp" android:top="10dp" android:bottom="10dp"/>
55
<stroke android:width="1dp" android:color="#CCCCCC"/>
66
</shape>

firebase-appdistribution/src/main/res/layout/activity_feedback.xml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,25 +100,34 @@
100100
android:background="@drawable/card_background"
101101
android:orientation="vertical">
102102

103-
<CheckBox
104-
android:id="@+id/screenshotCheckBox"
105-
android:layout_width="wrap_content"
106-
android:layout_height="wrap_content"
107-
android:text="@string/screenshot" />
103+
<RelativeLayout
104+
android:layout_width="match_parent"
105+
android:layout_height="wrap_content">
106+
<CheckBox
107+
android:id="@+id/screenshotCheckBox"
108+
android:layout_width="wrap_content"
109+
android:layout_height="wrap_content"
110+
android:layout_centerVertical="true"
111+
android:layout_alignParentStart="true"
112+
android:layout_alignParentLeft="true"
113+
android:text="@string/screenshot" />
114+
<Button
115+
style="@style/FeedbackTheme.Button.Stroked"
116+
android:id="@+id/chooseScreenshotButton"
117+
android:layout_width="wrap_content"
118+
android:layout_height="wrap_content"
119+
android:layout_alignParentEnd="true"
120+
android:layout_alignParentRight="true"
121+
android:text="Gallery"/>
122+
</RelativeLayout>
108123

109124
<ImageView
110125
android:id="@+id/screenshotImageView"
111-
android:layout_width="wrap_content"
126+
android:layout_width="match_parent"
112127
android:layout_height="wrap_content"
113-
android:scaleType="centerInside"
128+
android:layout_marginTop="12dp"
114129
android:adjustViewBounds="true"
115-
android:contentDescription="@string/screenshot_image_description" />
116-
117-
<Button
118-
android:id="@+id/chooseScreenshotButton"
119-
android:layout_width="wrap_content"
120-
android:layout_height="wrap_content"
121-
android:text="Gallery" />
130+
android:contentDescription="@string/screenshot_image_description"/>
122131
</LinearLayout>
123132
</LinearLayout>
124133
</ScrollView>

firebase-appdistribution/src/main/res/values/themes.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
<style name="FeedbackTheme" parent="Theme.AppCompat.Light.NoActionBar">
33
<item name="colorAccent">#000000</item>
44
</style>
5+
<style name="FeedbackTheme.Button.Stroked" parent="Widget.AppCompat.Button.Colored">
6+
<item name="android:background">@drawable/btn_stroked_background</item>
7+
<item name="android:textColor">#1a73e8</item>
8+
</style>
59
</resources>

0 commit comments

Comments
 (0)