repair
This commit is contained in:
parent
b645f9bd36
commit
c65c3d6199
@ -13,156 +13,158 @@
|
|||||||
android:id="@+id/swipeRefresh"
|
android:id="@+id/swipeRefresh"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:background="?android:attr/colorBackground">
|
|
||||||
<TextView
|
|
||||||
android:padding="15dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:id="@+id/title_profile"
|
|
||||||
android:textAlignment="center"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:letterSpacing="0.05"
|
|
||||||
android:background="?android:attr/colorBackground"
|
|
||||||
android:textColor="?attr/colorOnBackground"
|
|
||||||
android:text="@string/title_profile"
|
|
||||||
tools:ignore="MissingConstraints" />
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:background="?android:attr/colorBackground">
|
||||||
android:gravity="center_horizontal"
|
<TextView
|
||||||
android:paddingTop="50dp">
|
android:padding="15dp"
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/avatar"
|
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
|
android:id="@+id/title_profile"
|
||||||
|
android:textAlignment="center"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="150dp"
|
android:layout_height="wrap_content"
|
||||||
android:foregroundGravity="center"
|
android:textSize="20sp"
|
||||||
android:importantForAccessibility="no"
|
android:letterSpacing="0.05"
|
||||||
android:src="@drawable/_user_"
|
android:background="?android:attr/colorBackground"
|
||||||
|
android:textColor="?attr/colorOnBackground"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/title"
|
android:text="@string/title_profile"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
tools:ignore="MissingConstraints" />
|
||||||
|
|
||||||
<androidx.constraintlayout.helper.widget.Flow
|
|
||||||
android:id="@+id/flow"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:constraint_referenced_ids="avatar, fio, next,error, logout"
|
|
||||||
app:flow_verticalGap="16dp"
|
|
||||||
app:flow_verticalStyle="packed"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal"
|
||||||
|
android:paddingTop="50dp">
|
||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<ImageView
|
||||||
android:id="@+id/fio"
|
android:layout_margin="10dp"
|
||||||
android:textAlignment="center"
|
android:id="@+id/avatar"
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize="24sp"
|
|
||||||
android:letterSpacing="0.05"
|
|
||||||
android:background="?android:attr/colorBackground"
|
|
||||||
android:textColor="?attr/colorOnBackground"
|
|
||||||
android:text="Name"/>
|
|
||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
|
||||||
android:id="@+id/position"
|
|
||||||
android:padding="15dp"
|
|
||||||
android:layout_margin="16dp"
|
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
|
|
||||||
android:textAlignment="center"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="150dp"
|
||||||
android:textSize="18sp"
|
android:foregroundGravity="center"
|
||||||
android:letterSpacing="0.05"
|
android:importantForAccessibility="no"
|
||||||
android:background="?android:attr/colorBackground"
|
android:src="@drawable/_user_"
|
||||||
android:textColor="?attr/colorOnBackground"
|
|
||||||
android:text="Должность пользователя" />
|
|
||||||
|
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/title"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<androidx.constraintlayout.helper.widget.Flow
|
||||||
<com.google.android.material.button.MaterialButton
|
android:id="@+id/flow"
|
||||||
android:id="@+id/logout"
|
android:layout_width="0dp"
|
||||||
android:layout_margin="16dp"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/logout"
|
|
||||||
|
|
||||||
android:padding="12dp"
|
|
||||||
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:textColor="@color/white"
|
|
||||||
app:cornerRadius="8dp"
|
|
||||||
app:backgroundTint="@color/primary"
|
|
||||||
app:rippleColor="@color/white"/>
|
|
||||||
<com.google.android.material.button.MaterialButton
|
|
||||||
android:id="@+id/scan"
|
|
||||||
android:layout_margin="16dp"
|
|
||||||
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/scan"
|
|
||||||
app:icon="@drawable/qr_code_scan"
|
|
||||||
app:iconGravity="textStart"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
|
|
||||||
android:textColor="@color/white"
|
|
||||||
app:cornerRadius="8dp"
|
|
||||||
app:backgroundTint="@color/primary"
|
|
||||||
app:rippleColor="@color/white"/>
|
|
||||||
<com.google.android.material.button.MaterialButton
|
|
||||||
android:id="@+id/button_search"
|
|
||||||
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/administrator_searc_button_search"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_margin="16dp"
|
|
||||||
|
|
||||||
android:textColor="@color/white"
|
|
||||||
app:cornerRadius="8dp"
|
|
||||||
app:backgroundTint="@color/primary"
|
|
||||||
app:rippleColor="@color/white"
|
|
||||||
android:gravity="center"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:visibility="gone"
|
|
||||||
android:id="@+id/error"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content" />
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
|
||||||
android:id="@+id/recyclerViewLogs"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:orientation="vertical"
|
||||||
tools:listitem="@layout/item_scanner_view"
|
app:constraint_referenced_ids="avatar, fio, next,error, logout"
|
||||||
android:padding="16dp" />
|
app:flow_verticalGap="16dp"
|
||||||
</LinearLayout>
|
app:flow_verticalStyle="packed"
|
||||||
</LinearLayout>
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_horizontal">
|
||||||
|
|
||||||
|
<com.google.android.material.textview.MaterialTextView
|
||||||
|
android:id="@+id/fio"
|
||||||
|
android:layout_margin="10dp"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textSize="24sp"
|
||||||
|
android:letterSpacing="0.05"
|
||||||
|
android:background="?android:attr/colorBackground"
|
||||||
|
android:textColor="?attr/colorOnBackground"
|
||||||
|
android:text="Name"/>
|
||||||
|
|
||||||
|
<com.google.android.material.textview.MaterialTextView
|
||||||
|
android:id="@+id/position"
|
||||||
|
android:padding="15dp"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:letterSpacing="0.05"
|
||||||
|
android:background="?android:attr/colorBackground"
|
||||||
|
android:textColor="?attr/colorOnBackground"
|
||||||
|
android:text="Должность пользователя" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<com.google.android.material.button.MaterialButton
|
||||||
|
android:id="@+id/scan"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/scan"
|
||||||
|
app:icon="@drawable/qr_code_scan"
|
||||||
|
app:iconGravity="textStart"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
|
||||||
|
android:textColor="@color/white"
|
||||||
|
app:cornerRadius="8dp"
|
||||||
|
app:backgroundTint="@color/primary"
|
||||||
|
app:rippleColor="@color/white"/>
|
||||||
|
<com.google.android.material.button.MaterialButton
|
||||||
|
android:id="@+id/button_search"
|
||||||
|
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/administrator_searc_button_search"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
|
||||||
|
android:textColor="@color/white"
|
||||||
|
app:cornerRadius="8dp"
|
||||||
|
app:backgroundTint="@color/primary"
|
||||||
|
app:rippleColor="@color/white"
|
||||||
|
android:gravity="center"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
<com.google.android.material.button.MaterialButton
|
||||||
|
android:id="@+id/logout"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/logout"
|
||||||
|
|
||||||
|
android:padding="12dp"
|
||||||
|
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
app:cornerRadius="8dp"
|
||||||
|
app:backgroundTint="@color/primary"
|
||||||
|
app:rippleColor="@color/white"/>
|
||||||
|
<TextView
|
||||||
|
android:visibility="gone"
|
||||||
|
android:id="@+id/error"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
android:id="@+id/recyclerViewLogs"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
tools:listitem="@layout/item_scanner_view"
|
||||||
|
android:padding="16dp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||||
</androidx.core.widget.NestedScrollView>
|
</androidx.core.widget.NestedScrollView>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user