Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Change the theme and the style of the activities
Browse files Browse the repository at this point in the history
The theme and the style of the buttons should align
with the device's default ones.

Bug: 29030525
Change-Id: I7dde3e2492053011785b4709e230925c0606525a
  • Loading branch information
Chai Xuening authored and jzoran committed May 30, 2016
1 parent 739b699 commit b557300
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml 100644 → 100755
Expand Up @@ -81,12 +81,12 @@
</activity>
<activity android:name="StkDialogActivity"
android:configChanges="orientation|locale|screenSize|keyboardHidden"
android:theme="@android:style/Theme.Dialog"
android:theme="@android:style/Theme.DeviceDefault.Dialog"
android:taskAffinity="android.task.stk.StkLauncherActivity">
</activity>

<activity android:name="ToneDialog"
android:theme="@android:style/Theme.Dialog">
android:theme="@android:style/Theme.DeviceDefault.Dialog">
</activity>

<!-- SIM Toolkit settings activity -->
Expand Down
7 changes: 3 additions & 4 deletions res/layout/stk_msg_dialog.xml 100644 → 100755
Expand Up @@ -46,23 +46,22 @@
android:layout_height="wrap_content"
android:minHeight="54dip"
android:orientation="vertical" >
<LinearLayout
<LinearLayout style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="@color/ltgrey"
android:paddingTop="4dip"
android:paddingLeft="2dip"
android:paddingRight="2dip" >
<Button
<Button style="?android:attr/buttonBarButtonStyle"
android:id="@+id/button_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:layout_weight="1"
android:maxLines="2"
android:text="@string/button_cancel" />
<Button
<Button style="?android:attr/buttonBarButtonStyle"
android:id="@+id/button_ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down

0 comments on commit b557300

Please sign in to comment.