浏览代码

Optimized UI for started screen android

Khubaib 9 月之前
父节点
当前提交
36137e0e96

+ 2 - 2
.idea/deploymentTargetSelector.xml

@@ -4,10 +4,10 @@
     <selectionStates>
       <SelectionState runConfigName="app">
         <option name="selectionMode" value="DROPDOWN" />
-        <DropdownSelection timestamp="2024-10-03T14:06:18.452564143Z">
+        <DropdownSelection timestamp="2024-10-08T14:41:52.073606451Z">
           <Target type="DEFAULT_BOOT">
             <handle>
-              <DeviceId pluginId="LocalEmulator" identifier="path=/home/ubuntu/.android/avd/Small_Phone_API_25.avd" />
+              <DeviceId pluginId="LocalEmulator" identifier="path=/home/ubuntu/.android/avd/Small_Phone_API_27.avd" />
             </handle>
           </Target>
         </DropdownSelection>

+ 4 - 5
app/src/main/java/com/vpn/fastestvpnservice/screens/StartedScreen.kt

@@ -162,6 +162,7 @@ fun Started(navHostController: NavHostController) {
                         text = context.getString(R.string.secure_fast),
                         color = colorResource(id = R.color.white),
                         style = MaterialTheme.typography.titleLarge,
+                        lineHeight = 30.sp
                     )
                     Text(
                         modifier = Modifier
@@ -195,7 +196,6 @@ fun Started(navHostController: NavHostController) {
                 ) {
                     Button(
                         onClick = {
-                            Log.d("test_button", "onClick Send Code")
                             navHostController.popBackStack()
                             navHostController.navigate(Screen.Login.route)
                         },
@@ -218,12 +218,10 @@ fun Started(navHostController: NavHostController) {
                         Text(text = context.getString(R.string.signin),
                             style = MaterialTheme.typography.customTypography.labelMedium,
                         )
-                        Log.d("test_button", "RowScope")
                     }
 
                     Button(
                         onClick = {
-                            Log.d("test_button", "onClick Send Code")
                             navHostController.popBackStack()
                             navHostController.navigate(Screen.SignUp.route)
                         },
@@ -246,8 +244,9 @@ fun Started(navHostController: NavHostController) {
                     )
                     {
                         Text(text = context.getString(R.string.signup),
-                            style = MaterialTheme.typography.customTypography.labelMedium,)
-                        Log.d("test_button", "RowScope")
+                            style = MaterialTheme.typography.customTypography.labelMedium,
+                            lineHeight = 15.sp
+                            )
                     }
                 }
             }