sunnnl

스플래시 뷰 visibility 수정

......@@ -26,6 +26,7 @@ import java.util.TimerTask;
public class MainActivity extends AppCompatActivity {
private Button btnSetting;
private Button mBtnTagControl;
private ImageView mBtnTagControlBackground;
private TextView mTvTagButtonStatus, mTvTagButtonStatusDetail;
......@@ -42,6 +43,14 @@ public class MainActivity extends AppCompatActivity {
init();
timer = new TagTimer(5 * 1000, 1000, 5);
btnSetting = (Button) findViewById(R.id.btn_setting);
btnSetting.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startActivity(new Intent(MainActivity.this, SettingActivity.class));
}
});
}
// 툴바 설정
......
......@@ -7,15 +7,6 @@
android:background="@color/colorBackground"
tools:context=".ui.SplashActivity">
<ImageView
android:id="@+id/img_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher_background"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:visibility="invisible"/>
<LinearLayout
android:id="@+id/ll_logo"
android:layout_width="wrap_content"
......@@ -76,11 +67,14 @@
android:id="@+id/cl_enter"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintWidth_default="percent"
app:layout_constraintWidth_percent="0.12"
app:layout_constraintDimensionRatio="52:36"
android:layout_marginStart="10dp"
android:visibility="invisible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent">
app:layout_constraintStart_toEndOf="@+id/til_super_key"
app:layout_constraintEnd_toEndOf="@+id/ll_logo"
app:layout_constraintTop_toTopOf="@+id/til_super_key">
<Button
android:id="@+id/btn_enter"
......