Tag:status bar

  • Thoughts on IOS app testing


    1. During the use of app, answer the phone.It can test the length of different call times. After the call, the response of the app that was originally opened, such as whether it stayed in the original interface and the response speed when it continued to operate, can also check the analog phone under different […]

  • Using notification in Android to display notifications on the status bar


    scene Show notification effect on status bar     Note: Blog:https://blog.csdn.net/badao_liumang_qizhiOfficial accountDomineering procedural apeGet programming related ebooks, tutorials and free downloads. realization Create a new notificationactivity and get the notification manager through the getsystemservice method. Then create the notification and set some properties of the notification, and then use the notification manager to send the […]

  • IOS – iPhone screen adaptation / boot map adaptation / APP icon adaptation (iPhone full size includes iPhone X / XR / XS / XS max, etc.)


    Before the new iPhone product is released, make notes on screen adaptation, startup map adaptation and app icon adaptation for later reference: Note: some of the pictures are from the Internet; (I) iPhone screen adaptation: (1) Screen resolution:     ① Design dimension specification (table):     ② Design dimension specification (text):     ③ Development dimensions are easy to understand: […]

  • IOS magnifier, debugging tool, image filter, navigation gradient, animation effect and other source code


    IOS selected source IOS magnifying glass Wkwebview picture preview framework IOS app built-in debugging tool Segment selection, tababr customization, simple project construction IOS navigation gradient, and keep the status Horizontal switch page spscrollpageview with smooth transition Easily create IOS view controller over animation effects. JS and swift interaction Picture filter effect demo based on gpuimage […]

  • Android development template code (4) – status bar settings


    The following code is based on the open source project systembartint. We need to add its dependency compile ‘com.readystatesoftware.systembartint:systembartint:1.0.3’ In the following code, I passed the test of Android 7.0, which is similar to the native system. Other domestic ROM systems were not tested Set status bar white 1. Set theme In the Android manifest […]

  • PyQt4 programming method to let the status bar display information


    Record it quickly, just understand the skin, maybe accumulate more import sys from PyQt4 import QtGui class MainWindow(QtGui.QMainWindow): def __init__(self): QtGui.QMainWindow.__init__(self) self.resize(250,150) self.setWindowTitle(‘statusbar’) Self. Statusbar(). Showmessage (‘ready ‘) (call the statusbar method to get the status bar, and use showmessage to let the status bar display information) app = QtGui.QApplication(sys.argv) main = MainWindow() main.show() sys.exit(app.exec_()) […]

  • Android status bar notification


    private NotificationManager manager; private Notification.Builder builder; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); //Create a notification management class manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); builder = new Notification.Builder(this); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub Intent intent = new Intent(MainActivity.this, MainActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(MainActivity.this, […]

  • Tips for mobile development


    Preface Recently, I wrote a hybrid app project in the company. The pages are basically completed in H5 and embedded in the native WebView. I found a problem. Under iPhone 6, the status bar of Apple’s mobile phone will block the page, causing the page to move down and the style to be disordered. Finally, […]

  • Android status bar adaptation summary


    1. The status bar is required to be transparent. Our content layout extends to the system status bar, which is known as the immersive status bar: Android 5.0 and later: setting properties View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN So that our content layout can be extended to the system status bar, and then directly use the method setstatusbarcolor () to […]

  • Summary of basic usage of status bar in IOS


    I. status bar and navigation bar Status bar: display time, battery and other information Navigation bar: display app page title, return button, etc. Before IOS 7: the status bar and navigation bar are separate; After ios7: the status bar is combined with the navigation bar; the total height of the navigation part (64) = the […]

  • An Example of C_Implementing the


    This function is implemented on WinForm platform. Other platforms are much the same, not much introduction. 1. First create a test WinForm 2. Add a notify Icon control to the WinForm Then set the notifyIcon property, you can modify its name property. In this article, the name property is notifyIcon1. Note that when you click […]