added fragment_admin.xml

This commit is contained in:
aklyushova 2025-02-20 10:03:26 +03:00 committed by SunZar
parent 8f683c1f0c
commit 9e0f181f56
2 changed files with 36 additions and 6 deletions

View File

@ -21,10 +21,13 @@ public class HistoryDto {
@SerializedName("nameReader")
public String nameReader;
@Nullable
@SerializedName("type")
public String type;
}

View File

@ -15,20 +15,47 @@
app:layout_constraintTop_toTopOf="parent" />
<Button
android:text="Найти"
android:id="@+id/search_button"
android:layout_width="64dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
/>
app:layout_constraintTop_toTopOf="parent" />
<TextView
<LinearLayout
android:id="@+id/worker_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="invisible"
app:layout_constraintTop_toBottomOf="@id/search"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
/>
app:layout_constraintEnd_toEndOf="parent">
<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/photo"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/username"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/position"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/lastTime"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/status"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/block"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>