Android Custom Control: Mobile Phone Number Input Box with Animation Effect (3-4-4 format)

Click "Android Technology Grocery Store" above and select "Top Public Number" Dry article, first time service!   Author: Android Grassroots King Link: https://www.jianshu.com/p/e538b35c68c3 This article is authorized by the author. Custom controls are used in many parts of the project. Simple points ...

Posted by yanti on Sat, 11 May 2019 13:56:24 +0200

The problem of Alert Dialog's background changing after Android Activity sets the theme background

If you look closely at the flash page of App, you will find that every time you click on the icon on the desktop of your mobile phone to start the application, a white background (that is, what we usually call a white screen) will appear first, and then you will jump to the flash page. Like this: On how to solve the white sc ...

Posted by cosminb on Sat, 11 May 2019 12:29:47 +0200

Key Points of Android APP Full Screen Adaptation Technology

The Concept of Full Screen Why explain the full screen first, because the word is now a false proposition. Full screen literally means that the front of the mobile phone is all screen, 100% of the screen. But nowadays, none of the manufacturers that launch so-called "full screen" mobile phones can achieve full scale. So ...

Posted by Jebs on Sat, 11 May 2019 11:39:04 +0200

The problem of using jQuery $(this) in ES6

$('.js-bottom-btn').click((event) => { let flag = $(event.currentTarget).date('flag'); ... }) Turn 1 The transition to laravel-mix ES6 started in the old project. The meaning of $(this) in the arrow function when used with jQuery has changed.   The main reason for this problem is that it is not clear. Arrow function: $('.j ...

Posted by renegade33 on Sat, 11 May 2019 02:12:17 +0200

Lesson 12: Running in the Background (based on Android Studio 3.2)

Now that we have some knowledge of UI elements and screens, we need to make them responsive. Response is not just about speed - how much work you can accomplish over time. What's more important is how fast the application is. When people say that the application responds, they usually mean that the application will not prevent ...

Posted by Lukeidiot on Fri, 10 May 2019 23:17:10 +0200

Summary of applet Bluetooth

  Question: Recently I have made a small program involving Bluetooth module, make a summary, make a record of your growth, if you can help you, it would be great; 1. Applet Bluetooth Search Can Search Mobile Devices 2. How to determine if Bluetooth is on or off 3. Search for specified devices 4. The deviceId obtained on th ...

Posted by Aptana on Fri, 10 May 2019 09:58:03 +0200

Android Design Patterns - Agent Patterns

1. definition Providing a proxy for an object and controlling the reference of the original object by the proxy object is an object structural pattern. 2. role In some cases, customers do not want or can not directly refer to an object, which can be indirectly referred to by a third party called a "proxy". Proxy objects c ...

Posted by railgun on Thu, 09 May 2019 05:06:04 +0200

pygame Learning Notes Add a Wizard: Tank Moving and Rotating

Content of this article Use of Elves Use of Rect Class Realize the movement and rotation of a tank Effect demonstration Add a static tank We already know how to create a game window, set up background pictures, and let the game program respond to keyboards and mice. Then we need to add an elf to the game. Elves are a co ...

Posted by darkfreaks on Wed, 08 May 2019 13:15:03 +0200

android hides desktop icons

It's very important to make product retention, and it's very important to make small white. How to keep your app active all the time? Here's another way to create a shortcut like system icon in the mobile phone's breath screen. Then hide the icon of your application. Now let's look at the concrete steps: 1. How to monitor the ...

Posted by KingIsulgard on Wed, 08 May 2019 08:00:06 +0200

Android clicks on the notification bar message to open the activity and determine if the app is running

android notification bar message click event if an activity is opened, we need to consider two situations: The application is running in the foreground. The application has exited. If it's the first case, it's handled. Set flag to FLAG_ACTIVITY_NEW_TASK for Intent directly, and then call the context.startActivity method. Flag ...

Posted by mentor on Wed, 08 May 2019 05:10:05 +0200