[android] Moved compat buttons to scrollview.

This commit is contained in:
Dmitry Kunin 2013-05-03 19:15:11 +03:00 committed by Alex Zolotarev
parent b2b326749b
commit a423ff9649

View file

@ -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>