ipdan4ik

[lb7] activity_item.xml

Apr 16th, 2021
865
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent">
  5.     <com.google.android.material.floatingactionbutton.FloatingActionButton
  6.        android:id="@+id/fab"
  7.        android:layout_width="wrap_content"
  8.        android:layout_height="wrap_content"
  9.        android:layout_gravity="end|bottom"
  10.        android:src="@drawable/ic_add"
  11.        android:tint="@color/design_default_color_on_primary"
  12.        android:layout_margin="16dp" />
  13.  
  14.     <LinearLayout
  15.        android:layout_width="match_parent"
  16.        android:layout_height="690dp"
  17.        android:orientation="vertical">
  18.  
  19.         <TextView
  20.            android:id="@+id/gps_coordinates"
  21.            android:layout_width="wrap_content"
  22.            android:layout_height="wrap_content"
  23.            android:layout_marginBottom="10dp"
  24.            android:layout_gravity="center"
  25.            android:textSize="12sp" />
  26.  
  27.         <TextView
  28.            android:id="@+id/notification"
  29.            android:layout_width="match_parent"
  30.            android:layout_height="wrap_content"
  31.            android:layout_gravity="center"
  32.            android:background="@color/gray"
  33.            android:visibility="gone"
  34.            android:text="@string/notification_1"
  35.            android:textSize="12sp" />
  36.  
  37.         <Button
  38.            android:id="@+id/settings"
  39.            android:layout_height="wrap_content"
  40.            android:layout_width="match_parent"
  41.            android:visibility="gone"
  42.            android:text="@string/open_settings_button"
  43.            android:onClick="buttonOpenSettings"/>
  44.  
  45.         <ListView
  46.            android:id="@+id/listItems"
  47.            android:layout_width="match_parent"
  48.            android:layout_height="wrap_content" />
  49.  
  50.  
  51.     </LinearLayout>
  52.     <TextView
  53.        android:layout_width="wrap_content"
  54.        android:layout_height="wrap_content"
  55.        android:text="@string/my_name"
  56.        android:layout_gravity="center|bottom"
  57.        android:textSize="12sp"
  58.        android:layout_marginBottom="10dp"/>
  59. </FrameLayout>
  60.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×