+ replace a layer with an imagebutton

This commit is contained in:
kelson42 2013-12-03 15:33:15 +01:00
parent d0cbe5dd18
commit c3ee2a51f5
2 changed files with 8 additions and 6 deletions

View File

@ -52,13 +52,15 @@
</org.kiwix.kiwixmobile.KiwixWebView>
<LinearLayout
<ImageButton
android:id="@+id/remove_tab"
android:orientation="vertical"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="100px"
android:background="#44FF0000"
android:layout_centerInParent="true"
android:background="@drawable/navigation_cancel"
android:src="@drawable/navigation_cancel"
android:visibility="invisible"/>
<ImageButton

View File

@ -124,7 +124,7 @@ public class KiwixMobileFragment extends Fragment {
private Button mBackToTopButton;
private LinearLayout mTabDeleteCross;
private ImageButton mTabDeleteCross;
private FragmentCommunicator mFragmentCommunicator;
@ -143,7 +143,7 @@ public class KiwixMobileFragment extends Fragment {
mBackToTopButton = (Button) root.findViewById(R.id.button_backtotop);
mTabDeleteCross = (LinearLayout) root.findViewById(R.id.remove_tab);
mTabDeleteCross = (ImageButton) root.findViewById(R.id.remove_tab);
exitFullscreenButton = (ImageButton) root.findViewById(R.id.FullscreenControlButton);