Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
set -eu
set -x
LOCAL_ADB=/home/vadim/Android/Sdk/platform-tools/adb
REMOTE_ADB=/home/sasha/Android/Sdk/platform-tools/adb
sshfs google: ~/google-server || true
$LOCAL_ADB start-server
public class Solution {
public static void main(String[] args) throws Exception {
method1();
}
public static StackTraceElement[] method1() {
method2();
//напишите тут ваш код
}
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="@color/white"
>
<AutoCompleteTextView
android:id="@+id/register_username"
android:layout_width="match_parent"
@zzSandyzz
zzSandyzz / registration.xml
Created June 10, 2018 17:26
registration xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="@color/white"
>
@zzSandyzz
zzSandyzz / activity_main.xml
Created June 10, 2018 17:24
signin layout
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/footballer"
tools:context=".MainActivity">