Skip to content

Instantly share code, notes, and snippets.

View peterpazmandi's full-sized avatar
🤖
Working on android stuff

Peter Pazmandi peterpazmandi

🤖
Working on android stuff
  • Búcsúszentlászló, Hungary
  • 02:59 (UTC +02:00)
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<EditText
@peterpazmandi
peterpazmandi / MainActivity.kt
Created June 2, 2020 12:57
The source of password checker
import android.annotation.SuppressLint
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.View
import android.widget.EditText
import android.widget.RelativeLayout
import android.widget.TextView
@peterpazmandi
peterpazmandi / activity_main.xml
Created June 2, 2020 12:52
activity_main.xml of password checker
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView
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="@color/colorPrimary"
android:fillViewport="true"
tools:context=".MainActivity">