00ec454 / pop Goto Github PK
View Code? Open in Web Editor NEWA Quick Android Dialog
License: Apache License 2.0
A Quick Android Dialog
License: Apache License 2.0
Hi, I have the following code but it's crashing on startup:
package com.immortalin.systemOptimizer;
import android.app.*;
import android.os.*;
import com.vistrav.pop.Pop;
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Pop.on(this).with().title(R.string.title).body(R.string.body).show();
}
}
Hi!
I use
.layout(R.layout.dialog_update)
dialog_update.xml
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:paddingTop="24dp">
<com.daimajia.numberprogressbar.NumberProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/progress1"
style="@style/NumberProgressBar_Passing_Green"
custom:progress_unreached_bar_height="2dp"
custom:progress_reached_bar_height="4dp"
custom:progress_text_size="16sp"/>
</RelativeLayout>
How to set a value in NumberProgressBar?
Issue: After a AlertDialog dismissed, the activity seems lose its focus
How i can get back focus again. Thanks
Hi!
How the window behaves when calling in fragment and turning the device?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.