Merge "Fix bug #7198224 TimePicker widget shouldn't be completely RTL" into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a21ad1a394
@@ -25,24 +25,31 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- hour -->
|
||||
<NumberPicker
|
||||
android:id="@+id/hour"
|
||||
android:layout_width="70dip"
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
android:layoutDirection="ltr">
|
||||
|
||||
<!-- minute -->
|
||||
<NumberPicker
|
||||
android:id="@+id/minute"
|
||||
android:layout_width="70dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dip"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
<!-- hour -->
|
||||
<NumberPicker
|
||||
android:id="@+id/hour"
|
||||
android:layout_width="70dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
|
||||
<!-- minute -->
|
||||
<NumberPicker
|
||||
android:id="@+id/minute"
|
||||
android:layout_width="70dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dip"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- AM / PM -->
|
||||
<Button
|
||||
|
||||
@@ -25,40 +25,47 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- hour -->
|
||||
<NumberPicker
|
||||
android:id="@+id/hour"
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dip"
|
||||
android:layout_marginBottom="16dip"
|
||||
android:layout_marginStart="16dip"
|
||||
android:layout_marginEnd="6dip"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
android:layoutDirection="ltr">
|
||||
|
||||
<!-- divider -->
|
||||
<TextView
|
||||
android:id="@+id/divider"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:importantForAccessibility="no"
|
||||
/>
|
||||
<!-- hour -->
|
||||
<NumberPicker
|
||||
android:id="@+id/hour"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dip"
|
||||
android:layout_marginBottom="16dip"
|
||||
android:layout_marginStart="16dip"
|
||||
android:layout_marginEnd="6dip"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
|
||||
<!-- minute -->
|
||||
<NumberPicker
|
||||
android:id="@+id/minute"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dip"
|
||||
android:layout_marginBottom="16dip"
|
||||
android:layout_marginStart="6dip"
|
||||
android:layout_marginEnd="8dip"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
<!-- divider -->
|
||||
<TextView
|
||||
android:id="@+id/divider"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:importantForAccessibility="no"
|
||||
/>
|
||||
|
||||
<!-- minute -->
|
||||
<NumberPicker
|
||||
android:id="@+id/minute"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dip"
|
||||
android:layout_marginBottom="16dip"
|
||||
android:layout_marginStart="6dip"
|
||||
android:layout_marginEnd="8dip"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- AM / PM -->
|
||||
<NumberPicker
|
||||
|
||||
Reference in New Issue
Block a user