messenger-android

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

fragment_account_details.xml (2221B)


      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:padding="16dp"
     26     android:orientation="vertical"
     27     android:layout_width="match_parent"
     28     android:layout_height="match_parent"
     29     tools:context=".ui.account.AccountDetailsFragment">
     30 
     31     <ImageView
     32         android:id="@+id/accountAvatar"
     33         android:layout_width="100dp"
     34         android:layout_height="100dp"
     35         android:src="@drawable/ic_account_circle"/>
     36 
     37     <EditText
     38         android:id="@+id/accountName"
     39         android:hint="Account Name"
     40         android:layout_width="match_parent"
     41         android:layout_height="48dp" />
     42 
     43     <Button
     44         android:id="@+id/btn_save_name"
     45         android:text="Save Name"
     46         android:layout_width="wrap_content"
     47         android:layout_height="wrap_content"
     48         android:layout_marginTop="8dp"/>
     49 
     50     <Button
     51         android:id="@+id/btn_list_attributes"
     52         android:text="List Attributes"
     53         android:layout_width="wrap_content"
     54         android:layout_height="wrap_content"
     55         android:layout_marginTop="16dp"/>
     56     <Button
     57         android:id="@+id/btn_share_identity"
     58         android:text="Share Identity"
     59         android:layout_width="wrap_content"
     60         android:layout_height="wrap_content"
     61         android:layout_marginTop="16dp"/>
     62 </LinearLayout>