SetupWizard: Ellipsize long text in button bar
Change-Id: Id71b60b449545aeb92bd2325c8ded769bee8e014
This commit is contained in:
parent
822c7ec5f8
commit
c4584a78e3
@ -14,23 +14,23 @@
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/button_bar"
|
android:id="@+id/button_bar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@color/button_bar_background">
|
android:orientation="horizontal"
|
||||||
|
android:background="@color/button_bar_background">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
style="@style/ButtonBar.Left"
|
style="@style/ButtonBar.Left"
|
||||||
android:id="@+id/prev_button"
|
android:id="@+id/prev_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_alignParentLeft="true"/>
|
android:layout_weight="1"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
style="@style/ButtonBar.Right"
|
style="@style/ButtonBar.Right"
|
||||||
android:id="@+id/next_button"
|
android:id="@+id/next_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:text="@string/next" />
|
android:text="@string/next" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</LinearLayout>
|
@ -69,6 +69,7 @@
|
|||||||
<item name="android:textColor">@color/primary_text</item>
|
<item name="android:textColor">@color/primary_text</item>
|
||||||
<item name="android:fontFamily">sans-serif</item>
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
<item name="android:drawablePadding">6dp</item>
|
<item name="android:drawablePadding">6dp</item>
|
||||||
|
<item name="android:ellipsize">end</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ButtonBar.Left">
|
<style name="ButtonBar.Left">
|
||||||
|
Loading…
Reference in New Issue
Block a user