mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
+ replace a layer with an imagebutton
This commit is contained in:
parent
d0cbe5dd18
commit
c3ee2a51f5
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user