messenger-android

Android graphical user interfaces for GNUnet Messenger
Log | Files | Refs | README | LICENSE

fragment_account_list.xml (1870B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3     This file is part of GNUnet.
      4     Copyright (C) 2021–2025 GNUnet e.V.
      5 
      6     GNUnet is free software: you can redistribute it and/or modify it
      7     under the terms of the GNU Affero General Public License as published
      8     by the Free Software Foundation, either version 3 of the License,
      9     or (at your option) any later version.
     10 
     11     GNUnet is distributed in the hope that it will be useful, but
     12     WITHOUT ANY WARRANTY; without even the implied warranty of
     13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14     Affero General Public License for more details.
     15 
     16     You should have received a copy of the GNU Affero General Public License
     17     along with this program.  If not, see <http://www.gnu.org/licenses/>.
     18 
     19     SPDX-License-Identifier: AGPL3.0-or-later
     20 
     21     @author t3sserakt
     22 -->
     23 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     24     xmlns:tools="http://schemas.android.com/tools"
     25     android:id="@+id/account_list_root"
     26     android:layout_width="match_parent"
     27     android:layout_height="match_parent"
     28     android:orientation="vertical"
     29     android:padding="16dp"
     30     tools:context=".ui.account.AccountListFragment">
     31 
     32     <Button
     33         android:id="@+id/btn_create_account"
     34         android:layout_width="match_parent"
     35         android:layout_height="wrap_content"
     36         android:text="@string/create_account"
     37         android:layout_marginBottom="16dp" />
     38 
     39     <androidx.recyclerview.widget.RecyclerView
     40         android:id="@+id/account_recycler"
     41         android:layout_width="match_parent"
     42         android:layout_height="0dp"
     43         android:layout_weight="1"
     44         tools:listitem="@layout/item_account"
     45         android:contentDescription="@string/account_list_description"
     46         android:scrollbars="vertical"
     47         android:fadeScrollbars="false"/>
     48 
     49 </LinearLayout>