Recently Written · git

sbm-android

sbm bookmarks for Android: fuzzy search, share to add, sync with bm and the browser add-on

git clone https://github.com/equwal/sbm-android

Log | Files | Refs


app/src/main/res/layout/activity_main.xml (1630 bytes)

1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:id="@+id/root"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:orientation="vertical">
7 
8     <Toolbar
9         android:id="@+id/toolbar"
10         android:layout_width="match_parent"
11         android:layout_height="wrap_content"
12         android:background="?android:attr/colorPrimary"
13         android:minHeight="?android:attr/actionBarSize"
14         android:theme="@android:style/ThemeOverlay.Material.Dark.ActionBar"
15         android:title="@string/app_name" />
16 
17     <EditText
18         android:id="@+id/search"
19         android:layout_width="match_parent"
20         android:layout_height="wrap_content"
21         android:layout_margin="8dp"
22         android:hint="@string/search_hint"
23         android:imeOptions="actionGo"
24         android:importantForAutofill="no"
25         android:inputType="text|textNoSuggestions"
26         android:singleLine="true" />
27 
28     <FrameLayout
29         android:layout_width="match_parent"
30         android:layout_height="0dp"
31         android:layout_weight="1">
32 
33         <ListView
34             android:id="@+id/list"
35             android:layout_width="match_parent"
36             android:layout_height="match_parent" />
37 
38         <TextView
39             android:id="@+id/empty"
40             android:layout_width="match_parent"
41             android:layout_height="match_parent"
42             android:gravity="center"
43             android:padding="24dp"
44             android:textAppearance="?android:attr/textAppearanceMedium" />
45     </FrameLayout>
46 </LinearLayout>