forked from organicmaps/organicmaps
[android] Moved compat buttons to scrollview.
This commit is contained in:
parent
b2b326749b
commit
a423ff9649
1 changed files with 29 additions and 21 deletions
|
@ -143,28 +143,36 @@
|
|||
android:layout_margin="5dp"
|
||||
android:onClick="onDeleteClick"
|
||||
android:text="@string/remove_pin" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/compat_btns_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:gravity="center">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_share_email"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/share_by_email"
|
||||
android:maxLines="1"
|
||||
android:textSize="15sp"
|
||||
android:padding="2dp"
|
||||
android:ellipsize="marquee"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_share_any"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textSize="15sp"
|
||||
android:padding="2dp"
|
||||
android:text="@string/share" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/compat_btns_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_share_email"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/share_by_email" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_share_any"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/share" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
Loading…
Add table
Reference in a new issue