admin panel
This commit is contained in:
parent
52b4723ca9
commit
12cb03bfc8
@ -43,6 +43,7 @@ class RootActivity : AppCompatActivity() {
|
|||||||
fragment<QrScanFragment, QrScanDestination>()
|
fragment<QrScanFragment, QrScanDestination>()
|
||||||
fragment<MainFragment, MainDestination>()
|
fragment<MainFragment, MainDestination>()
|
||||||
fragment<QrResultFragment, QrResultDestination>()
|
fragment<QrResultFragment, QrResultDestination>()
|
||||||
|
fragment<AdminFragment, >()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,9 +11,11 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="TextView"
|
android:text="TextView"
|
||||||
android:textSize="24sp"
|
android:textSize="24sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintVertical_bias="0.17000002" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/photo"
|
android:id="@+id/photo"
|
||||||
@ -82,9 +84,29 @@
|
|||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/scan" />
|
app:layout_constraintTop_toBottomOf="@+id/scan" />
|
||||||
|
|
||||||
<LinearLayout
|
<Button
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/admin"
|
||||||
android:layout_height="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:orientation="vertical"></LinearLayout>
|
android:layout_height="wrap_content"
|
||||||
|
android:text="admin"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@+id/photo"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintHorizontal_bias="0.666"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/photo"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/fullname"
|
||||||
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
android:layout_width="409dp"
|
||||||
|
android:layout_height="337dp"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/error"
|
||||||
|
tools:layout_editor_absoluteX="1dp">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical" />
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -3,4 +3,5 @@
|
|||||||
<string name="login_button">Login</string>
|
<string name="login_button">Login</string>
|
||||||
<string name="username_label">Username</string>
|
<string name="username_label">Username</string>
|
||||||
<string name="password_label">password</string>
|
<string name="password_label">password</string>
|
||||||
|
<string name="login_admin_label">Login</string>
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user