Skip to content

Commit 9997b8d

Browse files
committed
1. UI changes in Prompt Dialog layout.
1 parent 0ba6ca4 commit 9997b8d

File tree

4 files changed

+9
-30
lines changed

4 files changed

+9
-30
lines changed
0 Bytes
Binary file not shown.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ android {
1919
}
2020
}
2121

22+
repositories {
23+
mavenCentral()
24+
}
25+
2226
dependencies {
2327
implementation fileTree(include: ['*.jar'], dir: 'libs')
2428
implementation 'com.android.support:appcompat-v7:27.1.1'
2529
implementation 'com.android.support:design:27.1.1'
2630
implementation 'com.android.support:cardview-v7:27.1.1'
2731
}
28-
repositories {
29-
mavenCentral()
30-
}

app/src/main/res/layout/layout_prompt_dialog.xml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
android:padding="5dp"
5252
android:singleLine="true"
5353
android:textColor="@color/color_dialog_title"
54-
android:textSize="18sp"
54+
android:textSize="22sp"
5555
android:textStyle="bold" />
5656

5757
<TextView
@@ -64,6 +64,7 @@
6464
android:paddingRight="10dp"
6565
android:paddingTop="5dp"
6666
android:textColor="@color/color_dialog_content_prompt"
67+
android:textSize="16sp"
6768
android:visibility="visible" />
6869

6970
</LinearLayout>
@@ -87,31 +88,8 @@
8788
android:gravity="center"
8889
android:minHeight="40dp"
8990
android:text="@string/ok"
90-
android:textColor="#676767" />
91-
92-
<!--<LinearLayout
93-
android:layout_width="wrap_content"
94-
android:layout_height="match_parent"
95-
android:background="@android:color/white"
96-
android:gravity="center_vertical"
97-
android:orientation="horizontal">
98-
<View
99-
android:id="@+id/divider"
100-
android:layout_width="1px"
101-
android:layout_height="20dp"
102-
android:layout_gravity="center_vertical"
103-
android:background="#929292" />
104-
</LinearLayout>
105-
<TextView
106-
android:id="@+id/btnNegative"
107-
android:layout_width="0dp"
108-
android:layout_height="wrap_content"
109-
android:layout_weight="1"
110-
android:background="@drawable/sel_def_gray_right"
111-
android:clickable="true"
112-
android:gravity="center"
113-
android:minHeight="40dp"
114-
android:textColor="#676767" /> -->
91+
android:textColor="#676767"
92+
android:textSize="18sp" />
11593

11694
</LinearLayout>
11795
</LinearLayout>

0 commit comments

Comments
 (0)