mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
layout touch up to kiwix search widget
This commit is contained in:
parent
6592afe8ec
commit
e0677c75f4
@ -7,7 +7,9 @@
|
||||
android:id="@+id/kiwix_search_widget_layout_id"
|
||||
android:background="@drawable/search_widget_background"
|
||||
android:padding="@dimen/widget_margin"
|
||||
android:gravity="center_vertical">
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginRight="1dp"
|
||||
android:layout_marginLeft="1dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -1175,6 +1175,8 @@ public class KiwixMobileActivity extends AppCompatActivity {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// TODO: change saving bookbark by zim name not id
|
||||
private void saveBookmark(String articleUrl, String articleTitle) {
|
||||
bookmarksDao.saveBookmark(articleUrl, articleTitle, ZimContentProvider.getId());
|
||||
refreshBookmarks();
|
||||
|
Loading…
x
Reference in New Issue
Block a user